package com.itany.corejava.day06;

public class Test3 {

    public static void main(String[] args) {

        People p1=new People("aaa",25,true);
        People p2=new People("bbb",25,false);


        System.out.println(p1.marry(p2));

        People p3=new People("ccc",25,false);

        System.out.println(p1.marry(p3));

    }
}
